//
//  SystemMessageModel.swift
//  甜言蜜语
//
//  Created by 王剑伟 on 16/6/20.
//  Copyright © 2016年 wl. All rights reserved.
//

import Foundation
import SwiftyJSON

class SystemMessageModel: NewsModelInitProtocol {
    
    var id: Int
    var title: String
    var body: String
    var imgSrc: String
    var themetime: String
    var ptime: String
    required init(json: JSON) {
        id = json["id"].intValue
        title = json["title"].stringValue
        body = json["body"].stringValue
        imgSrc = json["imgsrc"].stringValue
        themetime = json["themetime"].stringValue
        ptime = json["ptime"].stringValue
    }
}